include legacy pre-multiarch plugin paths
authorSteve Langasek <steve.langasek@ubuntu.com>
Tue, 22 Aug 2023 13:42:24 +0000 (14:42 +0100)
committerRoberto C. Sánchez <roberto@debian.org>
Tue, 22 Aug 2023 13:42:24 +0000 (14:42 +0100)
commit9d57d81dcdd352abf9ed4254ebd70332af144838
tree56e1714e6442e096235aa4100ebd513130d7a35d
parent9e7adce3b2d60c2a311926615140628c4237ec9a
include legacy pre-multiarch plugin paths

Last-Update: 2012-04-25

A full multiarch system requires an architecture-qualified plugin path for
Qt, but installed systems may still have plugins (e.g., from other
distribution packages) in another pre-multiarch directory.  When constructing
the plugin path, include both the configured plugin path and a plugin path
with the architecture triplet stripped out.

This applies to the general plugin loading system, and to the QML one.

Gbp-Pq: Name qt-multiarch-plugin-path-compat.diff
src/corelib/kernel/qcoreapplication.cpp
src/declarative/qml/qdeclarativeimport.cpp